home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / mapsyntx.zip / SYNBSP.BAT < prev   
DOS Batch File  |  1996-09-09  |  416b  |  24 lines

  1. @echo off
  2. REM Edit this bat file to suit your setup
  3. REM BTW : Use MAPSYNTX /? for help
  4. @MAPSYNTX %1
  5. if errorlevel=3 goto END
  6. if errorlevel=2 goto ERRORS
  7. if errorlevel=1 goto WARNINGS
  8. echo Syntax check OK
  9.  
  10. :OK
  11. echo Continuing with QBSP
  12. qbsp %1
  13. goto End
  14.  
  15. :WARNINGS
  16. echo There are warnings - press Ctrl+C to stop.
  17. Pause
  18. goto OK
  19.  
  20. :ERRORS
  21. REM Stop here
  22. echo There are errors in %1 - stopping.
  23.  
  24. :END